// 这个是开发测试文件
import Base from '../lib/index'

class MyClass extends Base {

    public name: string;
    constructor(name: string) {

        super(name);
        this.name = name;
        
    }

}


let myclass = new MyClass('wbb')

myclass.on('start', (evt, data) => {
    console.log('start', evt, data);
});

myclass.off('start');

myclass.trigger('start', { a: 111 })

myclass.data('abc', 111);

myclass.option({x: 100});



console.log('option', myclass.option());